/*
 * Copyright (C) 2011-present ShenZhen iBOXCHAIN Information Technology Co.,Ltd.
 *
 * All right reserved.
 *
 * This software is the confidential and proprietary
 * information of iBOXCHAIN Company of China.
 * ("Confidential Information"). You shall not disclose
 * such Confidential Information and shall use it only
 * in accordance with the terms of the contract agreement
 * you entered into with iBOXCHAIN inc.
 */
package com.example.wac.entity.system;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * <p>
 * 角色信息表
 * </p>
 *
 * @author Code Generator
 * @date Created in 2022-06-21 14:58:05
 */
@Data
@NoArgsConstructor
@TableName("tbl_role_info")
@EqualsAndHashCode(callSuper = true)
public class RoleInfo extends Model<RoleInfo> {
    private static final long serialVersionUID = 1L;

    /**
     * 角色id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;
    /**
     * 角色code
     */
    @TableField(value = "role_code")
    private String roleCode;
    /**
     * 角色状态0-正常 1-停用
     */
    @TableField(value = "role_state")
    private Integer roleState;
    /**
     * 角色名称
     */
    @TableField(value = "role_name")
    private String roleName;
    /**
     * 描述
     */
    @TableField(value = "role_desc")
    private String roleDesc;
    /**
     * 汇掌柜商户号
     */
    @TableField(value = "mcht_no")
    private String mchtNo;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

}